package edu.ynu.se.xiecheng.achitectureclass.common.repository;

import edu.ynu.se.xiecheng.achitectureclass.common.entity.SoilPH;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface SoilPHRepository extends JpaRepository<SoilPH, Long> {
    Optional<SoilPH> findBySensorId(String sensorId);
}
